CC=gcc
CFLAGS=-Werror -m64 -g -Wall  -lefence
CFLAGS+=-I../../../include -I../

LIBS=-ldl ../libhandvalue.a -fsanitize=address

TEST_HAND_OBJ = test_hand_value.o

.PHONY: clean test_hand_value

%.o: %.c
	$(CC) -c -o $@ $< $(CFLAGS)

test_hand: $(TEST_HAND_OBJ)
	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)


clean:
	rm -f test_hand *.o core
